put
ngCookies
Sets a value for given cookie key
key – {string} –
Id for the value .
value
value – {Object} –
Value to be stored.